package com.foreverwin.mes.lims.mapper;

import com.foreverwin.mes.lims.model.LotTank;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 物料批次出入罐 Mapper 接口
 * </p>
 *
 * @author Max
 * @since 2020-03-13
 */
@Repository
public interface LotTankMapper extends BaseMapper<LotTank> {
    /**
     * 通过外键查询罐内批次入罐时间升序
     * @param zItemTankBo
     * @return
     */
    List<LotTank> selectLotInTank ( String zItemTankBo );

    /**
     * 查询罐内批次详情，数量从库存获取
     * @param zItemTankBo
     * @return
     */
    List<LotTank> selectLotOfTankList (String zItemTankBo);
}